IStatistics

interface IStatistics

Functions

Link copied to clipboard
abstract fun getAverageMOS(): Float

Get the average MOS (mean opinion score) value

Link copied to clipboard
abstract fun getBitRate(): Long

Get the current bit rate of the video.

Link copied to clipboard
abstract fun getFps(): Double

Get the current frames per seconds of the video.

Link copied to clipboard
abstract fun getFrameHeight(): Int

Get the current height value of the video.

Link copied to clipboard
abstract fun getFrameWidth(): Int

Get the current width value of the video.

Link copied to clipboard
abstract fun getMaxJitter(): Double

Get the maximum Jitter value

Link copied to clipboard
abstract fun getMaxJitterDepth(): Double

Get the maximum Jitter Depth value

Link copied to clipboard
abstract fun getMaxRTT(): Double

Get the maximum RTT (round trip time) value

Link copied to clipboard
abstract fun getMinJitter(): Double

Get the minimum Jitter value

Link copied to clipboard
abstract fun getMinJitterDepth(): Double

Get the minimum Jitter Depth value

Link copied to clipboard
abstract fun getMinMOS(): Float

Get the minimum MOS (mean opinion score) value

Link copied to clipboard
abstract fun getMinRTT(): Double

Get the minimum RTT (round trip time) value

Link copied to clipboard
abstract fun getNumberOfStatsWithoutFramesReceived(publisherId: String): Int

Statistics from the peer connection are extracted every few seconds. Get the number of times where no video frames were received for the publisher given in parameter

Link copied to clipboard
abstract fun getQualityLimitationReason(): String

Get the current video quality limitation reason. Example values can be "cpu", "bandwidth", "none" or an empty string.